package descarte.com.br.descarte.Bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by jvba on 22/03/2015.
 */

@DatabaseTable(tableName="requisitar")
public class Requisitar {

    @DatabaseField(generatedId = true)
    int id;

    @DatabaseField(foreign = true)
    private Coletor coletor;

    @DatabaseField(foreign = true)
    private Residuo residuo;

    public Requisitar(Coletor coletor, Residuo residuo){
        this.coletor=coletor;
        this.residuo=residuo;
    }

    public Requisitar(){
    }

    public Coletor getColetor() {
        return coletor;
    }

    public void setColetor(Coletor coletor) {
        this.coletor = coletor;
    }

    public Residuo getResiduo() {
        return residuo;
    }

    public void setResiduo(Residuo residuo) {
        this.residuo = residuo;
    }
}
